﻿namespace Transformable_Engine_v2.Engine.GameObjects.Containers
{
    public abstract class Screen : Container
    {
        public delegate void OnChangeScreenHandler(string nextScreen);

        public event OnChangeScreenHandler OnChangeScreen;

        protected void ChangeScreen(string argument)
        {
            if(OnChangeScreen != null)
                OnChangeScreen(argument);
        }
    }
}